package com.arpa.wms.service.impl;

import com.arpa.wms.domain.entity.ReceiptItem;
import com.arpa.wms.mapper.ReceiptItemMapper;
import com.arpa.wms.service.IReceiptItemService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 仓库收款单明细 服务实现类
 * </p>
 *
 * @author LEO
 * @since 2020-11-17
 */
@Service
public class ReceiptItemServiceImpl extends ServiceImpl<ReceiptItemMapper, ReceiptItem> implements IReceiptItemService {


    /**
     * 根据收款单号获取收款单明细
     *
     * @param receiptCode 收款单号
     * @return 收款单明细 {@link ReceiptItem}
     */
    @Override
    public List<ReceiptItem> listByReceiptCode(String receiptCode) {

        return baseMapper.listByReceiptCode(receiptCode);
    }
}
